package com.game.util;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

/**
 * author sig
 * since 2017/2/20
 */
public class LogUtil {
    public static Logger console;

    public static void init() {
        PropertyConfigurator.configure("config/log4j.properties");
        console = Logger.getLogger("console");

        com.nets.util.LogUtil.console = com.dats.util.LogUtil.console = console;
        console.info("The logger has been initialized.");
    }
}
